void initialize(long length, __attribute__((unused)) long chunk_size, double data_A[length], double data_B[length])
{
    long i;
    for ( i = 0; i < length; i++) {
        data_A[i] = i + 1;
        data_B[i] = 1;
    }
}

double dot_product(long N, __attribute__((unused)) long CHUNK_SIZE, double A[N], double B[N])
{
    double acc;
    long i;

    acc = 0.0;
    for ( i = 0; i < N; i++) {
        acc += A[i]*B[i];
    }

    return acc;
}
